﻿<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:NetrekUIExtension="clr-namespace:NetrekUIExtension;assembly=NetrekUIExtension"
	xmlns:AVUIExtension="clr-namespace:AVUIExtension;assembly=TransitioningWindow"
	x:Name="Page"
	WindowTitle="Page"
	FlowDirection="LeftToRight"
	MinWidth="640" MinHeight="480"
	WindowWidth="640" WindowHeight="480" xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">

	<Page.Resources>
		<Storyboard x:Key="OnTransitionIn1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnTransitionOut1">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="ChatMouseEnter">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ChatHistory" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="ChatMouseLeave">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ChatHistory" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:03.0000000" Value="1.0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:03.5000000" Value="0.33"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Page.Resources>
	<Page.Triggers>
		<EventTrigger RoutedEvent="AVUIExtension:TransitioningPage.TransitionIn">
			<BeginStoryboard Storyboard="{StaticResource OnTransitionIn1}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="ChatHistory">
			<BeginStoryboard Storyboard="{StaticResource ChatMouseEnter}" x:Name="ChatMouseEnter_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="ChatHistory">
			<BeginStoryboard Storyboard="{StaticResource ChatMouseLeave}" x:Name="ChatMouseLeave_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="AVUIExtension:TransitioningPage.TransitionOut">
			<BeginStoryboard x:Name="OnTransitionOut1_BeginStoryboard" Storyboard="{StaticResource OnTransitionOut1}"/>
		</EventTrigger>
	</Page.Triggers>


	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="15" />
			<RowDefinition Height="*" />
			<RowDefinition Height="25" />
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" MinWidth="620" />
			<ColumnDefinition Width="0.32*" MinWidth="150" />
		</Grid.ColumnDefinitions>
    
		<Grid Grid.Row="0" Grid.Column="0">
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>  
    
			<Rectangle Fill="Black" Grid.ColumnSpan="5" />
    
			<Grid Grid.Row="0" Grid.Column="0">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>  

				<TextBlock VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="SHD"/></TextBlock>
				<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
					<ProgressBar x:Name="ShieldValue" Orientation="Horizontal" Height="15" Margin="5, 0, 5, 3" />
					<TextBlock x:Name="ShieldValueText" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Swiss911 XCm BT" FontSize="13" Foreground="#FF9D9D9D" />
				</StackPanel>
			</Grid>
    
			<Grid Grid.Row="0" Grid.Column="1">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>  

				<TextBlock VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="DAM"/></TextBlock>
				<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
					<ProgressBar x:Name="DamageValue" Orientation="Horizontal" Height="15" Margin="5, 0, 5, 3" />
					<TextBlock x:Name="DamageValueText" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Swiss911 XCm BT" FontSize="13" Foreground="#FF9D9D9D" />
				</StackPanel>
			</Grid>

			<Grid Grid.Row="0" Grid.Column="2">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>  

				<TextBlock VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="ETEMP"/></TextBlock>
				<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
					<ProgressBar x:Name="ETempValue" Orientation="Horizontal" Height="15" Margin="5, 0, 5, 3" />
					<TextBlock x:Name="ETempValueText" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Swiss911 XCm BT" FontSize="13" Foreground="#FF9D9D9D" />
				</StackPanel>
			</Grid>

			<Grid Grid.Row="0" Grid.Column="3">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>  

				<TextBlock VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="WTEMP"/></TextBlock>
				<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
					<ProgressBar x:Name="WTempValue" Orientation="Horizontal" Height="15" Margin="5, 0, 5, 3" />
					<TextBlock x:Name="WTempValueText" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Swiss911 XCm BT" FontSize="13" Foreground="#FF9D9D9D" />
				</StackPanel>
			</Grid>

			<Grid Grid.Row="0" Grid.Column="4">
				<Grid.RowDefinitions>
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>  

				<TextBlock VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="FUEL"/></TextBlock>
				<StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1">
					<ProgressBar x:Name="FuelValue" Orientation="Horizontal" Height="15" Margin="5, 0, 5, 3" />
					<TextBlock x:Name="FuelValueText" VerticalAlignment="Center" HorizontalAlignment="Center" FontFamily="Swiss911 XCm BT" FontSize="13" Foreground="#FF9D9D9D" />
				</StackPanel>
			</Grid>
    
		</Grid>

		<Grid Grid.Row="1" Grid.Column="0">
			<Grid.RowDefinitions>
				<RowDefinition Height="0.75*" />
				<RowDefinition Height="0.25*" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="3*" />
				<ColumnDefinition Width="4.5*" />
			</Grid.ColumnDefinitions>    

			<Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="2">
				<Rectangle StrokeThickness="2" Stroke="Black" /> 
				<Grid Margin="1, 1, 1, 1" x:Name="MainPlayfield" /> 
			</Grid>

			<ListBox x:Name="ChatHistory" Grid.Row="1" Grid.Column="0" Margin="0, 0, 10, 0" FontSize="18" FontFamily="Swiss911 XCm BT" Foreground="#FFE4E4E4" Background="#FFEFEFEF" Opacity="0.3">
				<ListBox.Resources>
					<ResourceDictionary>
						<Style x:Key="{x:Type ListBoxItem}" TargetType="{x:Type ListBoxItem}">
							<Setter Property="Template">
								<Setter.Value>
									<ControlTemplate TargetType="{x:Type ListBoxItem}">
										<TextBlock Text="{TemplateBinding Content}" 
											FontFamily="{TemplateBinding FontFamily}" 
											FontSize="{TemplateBinding FontSize}" 
											Foreground="{TemplateBinding Foreground}" 
											TextWrapping="Wrap" />
									</ControlTemplate>
								</Setter.Value>
							</Setter>
						</Style>
					</ResourceDictionary>
				</ListBox.Resources>
			</ListBox>
        
		</Grid>

		<Grid Grid.Row="2" Grid.Column="0">
			<Grid.RowDefinitions>
				<RowDefinition Height="*" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="3*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="1.5*" />
			</Grid.ColumnDefinitions>    
  
			<Rectangle Fill="Black" Grid.ColumnSpan="5" />

			<TextBox x:Name="ChatEntry" FontSize="22" FontFamily="Swiss911 XCm BT" Grid.Row="0" Grid.Column="0" Margin="0, 0, 10, 0" />
    
			<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="1">      
				<TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="WRP"/></TextBlock>
				<Grid Margin="4, 0, 4, 0" Grid.Row="0" Grid.Column="1">
					<Rectangle Stretch="Fill" Fill="#FFFF9C00" RadiusX="3.0" RadiusY="3.0" />
					<TextBlock x:Name="WarpValue" Margin="10, 0, 10, 0" FontSize="22" FontFamily="Swiss911 XCm BT" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="Black"><Run Text="88/88"/></TextBlock>
					<Rectangle Stretch="Fill" RadiusX="3.0" RadiusY="3.0" Fill="{StaticResource GlassHighlight}" />            
				</Grid>
			</StackPanel>

			<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="2">      
				<TextBlock  VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="KIL"/></TextBlock>
				<Grid Margin="4, 0, 4, 0" Grid.Row="0" Grid.Column="1">
					<Rectangle Stretch="Fill" Fill="#FFFF9C00" RadiusX="3.0" RadiusY="3.0" />
					<TextBlock x:Name="KillsValue" Margin="10, 0, 10, 0" FontSize="22" FontFamily="Swiss911 XCm BT" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="Black"><Run Text="88.88"/></TextBlock>
					<Rectangle Stretch="Fill" RadiusX="3.0" RadiusY="3.0" Fill="{StaticResource GlassHighlight}" />            
				</Grid>
			</StackPanel>

			<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="3">      
				<TextBlock  VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="ARM"/></TextBlock>
				<Grid Margin="4, 0, 4, 0" Grid.Row="0" Grid.Column="1">
					<Rectangle Stretch="Fill" Fill="#FFFF9C00" RadiusX="3.0" RadiusY="3.0" />
					<TextBlock x:Name="ArmiesValue" Margin="10, 0, 10, 0" FontSize="22" FontFamily="Swiss911 XCm BT" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="Black"><Run Text="88/88"/></TextBlock>
					<Rectangle Stretch="Fill" RadiusX="3.0" RadiusY="3.0" Fill="{StaticResource GlassHighlight}" />            
				</Grid>
			</StackPanel>

			<StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="4">      
				<TextBlock  VerticalAlignment="Center" HorizontalAlignment="Left" FontFamily="Swiss911 XCm BT" FontSize="16" Foreground="#FFE4E4E4"><Run Text="TIME"/></TextBlock>
				<Grid Margin="4, 0, 4, 0">
					<Rectangle Stretch="Fill" Fill="#FFFF9C00" RadiusX="3.0" RadiusY="3.0" />
					<TextBlock x:Name="TimeValue" Margin="10, 0, 10, 0" FontSize="22" FontFamily="Swiss911 XCm BT" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="Black"><Run Text="88:88:88"/></TextBlock>
					<Rectangle Stretch="Fill" RadiusX="3.0" RadiusY="3.0" Fill="{StaticResource GlassHighlight}" />            
				</Grid>
			</StackPanel>
		</Grid>

		<Grid Grid.Row="0" Grid.RowSpan="3" Grid.Column="1" Margin="5,0,0,0">
			<Grid.RowDefinitions>
				<RowDefinition Height="1.5*" />
				<RowDefinition Height="*" />
				<RowDefinition Height="1.5*" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>

			<Grid Grid.Row="0" Grid.Column="0" Background="Black">

				<NetrekUIExtension:Radar Margin="4,4,4,10" x:Name="Radar"/>

				<Rectangle Stroke="#FFFF9C00" StrokeThickness="2" Stretch="Fill" IsHitTestVisible="false"> 
					<Rectangle.Fill>
						<LinearGradientBrush SpreadMethod="Pad" StartPoint="0.5, -0.2" EndPoint="0.5, 0.0">
							<GradientStop Color="#000000FF" Offset="0"/>
							<GradientStop Color="#080000FF" Offset="0.1"/> 
							<GradientStop Color="#280000FF" Offset="0.9"/> 
							<GradientStop Color="#000000FF" Offset="1.0"/>                 
						</LinearGradientBrush>    
					</Rectangle.Fill>
				</Rectangle>

			</Grid>
    
			<Grid Grid.Row="1" Grid.Column="0">
				<Rectangle Stroke="#FFFF9C00" StrokeThickness="2" Stretch="Fill" />     
				<Grid Margin="2, 2, 2, 2">
					<Rectangle Stroke="Black" StrokeThickness="2" Stretch="Fill" />     
					<TextBlock x:Name="DetailViewTitle" VerticalAlignment="Top" HorizontalAlignment="Center" Foreground="#FFE4E4E4" Text="" FontFamily="Swiss911 XCm BT" FontSize="14" />
					<TextBlock x:Name="DetailViewResources" Text="" Foreground="#FFE4E4E4" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="3,0,0,3" FontFamily="Swiss911 XCm BT" FontSize="14" />    
        
					<Rectangle x:Name="DetailCoveringPanel" Stretch="Fill">
						<Rectangle.Fill>
							<LinearGradientBrush StartPoint="0.0, 0.0" EndPoint="1.0, 1.0">
								<GradientStop Color="#00000000" Offset="1.0" />
								<GradientStop Color="Black" Offset="1.0" />
							</LinearGradientBrush>          
						</Rectangle.Fill>
					</Rectangle>
        
				</Grid>
				<NetrekUIExtension:DetailViewWindow Margin="0,0,0,0" x:Name="DetailViewWindow"/>
			</Grid>

			<Grid Background="Black" Grid.Row="2" Grid.Column="0">
				<Grid.Resources>
					<Style x:Key="BlendInPanel" TargetType="{x:Type Panel}">
						<Style.Triggers>
							<Trigger Property="Visibility" Value="Visible">
								<Trigger.EnterActions>
									<BeginStoryboard>
										<Storyboard>
											<DoubleAnimation Storyboard.TargetProperty="Opacity" FillBehavior="Stop" From="0.0" To="1.0" Duration="00:00:00.5" />
										</Storyboard>
									</BeginStoryboard>              
								</Trigger.EnterActions>
							</Trigger>
						</Style.Triggers>
					</Style>
				</Grid.Resources>
				<Grid>
					<Grid.RowDefinitions>
						<RowDefinition Height="auto" />
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*" />
					</Grid.ColumnDefinitions>
        
					<!-- Action menu panel. Will include buttons for transport, refit, etc, etc. -->
					<StackPanel x:Name="OrbitPanel" Style="{StaticResource BlendInPanel}">
						<StackPanel>
							<TextBlock HorizontalAlignment="Center" Foreground="#FFE4E4E4" FontFamily="Swiss911 XCm BT" FontSize="14"><Run Text="Planet Menu"/></TextBlock>
							<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled">
								<Grid>
									<Grid.RowDefinitions>
										<RowDefinition Height="auto" />
									</Grid.RowDefinitions>
									<Grid.ColumnDefinitions>
										<ColumnDefinition Width="*" />
										<ColumnDefinition Width="*" />
									</Grid.ColumnDefinitions>                
									<Button Margin="5, 5, 5, 5" Content="Bomb" FontFamily="Swiss911 XCm BT" FontSize="18"/>
									<Button Margin="5, 5, 5, 5" Grid.Column="1" Content="Transport" FontFamily="Swiss911 XCm BT" FontSize="18"/>
								</Grid>
							</ScrollViewer>
						</StackPanel>        
						<StackPanel x:Name="RefitPanel" Margin="5, 5, 5, 5" Style="{StaticResource BlendInPanel}">
							<TextBlock HorizontalAlignment="Center" Foreground="#FFE4E4E4" FontFamily="Swiss911 XCm BT" FontSize="14"><Run Text="Refit Menu"/></TextBlock>
							<Grid Margin="0,5,0,0" Width="Auto">
								<Grid.RowDefinitions>
									<RowDefinition Height="*" />
								</Grid.RowDefinitions>
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="*" />
									<ColumnDefinition Width="*" />
								</Grid.ColumnDefinitions>
								
								<ComboBox Foreground="#FFE4E4E4" IsSynchronizedWithCurrentItem="True" FontFamily="Swiss911 XCm BT" FontSize="18" HorizontalAlignment="Stretch" Margin="0,0,5,0">
									<ComboBoxItem Foreground="Black" Content="Scout" FontFamily="Swiss911 XCm BT" FontSize="18" />
									<ComboBoxItem Foreground="Black" Content="Destroyer" FontFamily="Swiss911 XCm BT" FontSize="18" />
									<ComboBoxItem Foreground="Black" Content="Cruiser" IsSelected="true" FontFamily="Swiss911 XCm BT" FontSize="18" />
									<ComboBoxItem Foreground="Black" Content="Battleship" FontFamily="Swiss911 XCm BT" FontSize="18" />
									<ComboBoxItem Foreground="Black" Content="Assault" FontFamily="Swiss911 XCm BT" FontSize="18" />
								</ComboBox>
								<Button x:Name="Refit" Grid.Column="1" FontFamily="Swiss911 XCm BT" FontSize="18" Content="Request Refit" HorizontalAlignment="Stretch" Margin="5,0,0,0"/>
							</Grid>
						</StackPanel>
					</StackPanel>
              
					<Grid Grid.Row="1">		  
						<ListView IsSynchronizedWithCurrentItem="True" Margin="8,4,8,0" FontFamily="Swiss911 XCm BT" FontSize="18" Grid.Row="2" Grid.Column="1" x:Name="PlayerList">
							<ListView.ItemContainerStyle>
								<Style TargetType="{x:Type ListViewItem}">
									<Setter Property="Foreground" Value="#FFE4E4E4"/>
									<Setter Property="Template">
										<Setter.Value>
											<ControlTemplate TargetType="{x:Type ListViewItem}">
												<Grid>
													<GridViewRowPresenter x:Name="Presenter" Columns="{TemplateBinding GridView.ColumnCollection}" Content="{TemplateBinding Content}" />
												</Grid>
											</ControlTemplate>
										</Setter.Value>
									</Setter>
									<Style.Triggers>
										<DataTrigger Binding="{Binding Path=TeamID}" Value="71">
											<Setter Property="Foreground" Value="Yellow" />
										</DataTrigger>
										<DataTrigger Binding="{Binding Path=TeamID}" Value="76">
											<Setter Property="Foreground" Value="Red" />
										</DataTrigger>
										<DataTrigger Binding="{Binding Path=TeamID}" Value="78">
											<Setter Property="Foreground" Value="Green" />
										</DataTrigger>
										<DataTrigger Binding="{Binding Path=TeamID}" Value="79">
											<Setter Property="Foreground" Value="Blue" />
										</DataTrigger>
									</Style.Triggers>
								</Style>
							</ListView.ItemContainerStyle>
							<ListView.View>
								<GridView>
									<GridViewColumn Header="NO" DisplayMemberBinding="{Binding Path=Identifier}" />    
									<GridViewColumn Header="TY" DisplayMemberBinding="{Binding Path=ShipType}" />    
									<GridViewColumn Header="RNK" DisplayMemberBinding="{Binding Path=Rank}" />    
									<GridViewColumn Header="NAME" DisplayMemberBinding="{Binding Path=Name}" />    
									<GridViewColumn Header="KLS" DisplayMemberBinding="{Binding Path=Kills}" />    
									<GridViewColumn Header="WIN" DisplayMemberBinding="{Binding Path=Wins}" />    
									<GridViewColumn Header="LOS" DisplayMemberBinding="{Binding Path=Losses}" />    
									<GridViewColumn Header="RATIO" DisplayMemberBinding="{Binding Path=Ratio}" />    
									<GridViewColumn Header="OFF" DisplayMemberBinding="{Binding Path=Offense}" />    
									<GridViewColumn Header="DEF" DisplayMemberBinding="{Binding Path=Defense}" />    
									<GridViewColumn Header="DI" DisplayMemberBinding="{Binding Path=DamageInflicted}" />    				
								</GridView>
							</ListView.View>
						</ListView>
					</Grid>
				</Grid>
			</Grid>

		</Grid>
		<GridSplitter Grid.Column="1" Width="5" VerticalAlignment="Stretch" HorizontalAlignment="Left" Grid.RowSpan="3" Background="#FF000000" /> 
	<MediaElement HorizontalAlignment="Left" x:Name="Click_wav" VerticalAlignment="Top" Width="0" Height="0" Stretch="Fill"/> 
	</Grid>
</Page>